home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / src / GLperf3.12-src.lha / GLperf / AttrName.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-01  |  3.2 KB  |  135 lines

  1. /*
  2.  *   (C) COPYRIGHT International Business Machines Corp. 1993
  3.  *   All Rights Reserved
  4.  *   Licensed Materials - Property of IBM
  5.  *   US Government Users Restricted Rights - Use, duplication or
  6.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7.  
  8. //
  9. // Permission to use, copy, modify, and distribute this software and its
  10. // documentation for any purpose and without fee is hereby granted, provided
  11. // that the above copyright notice appear in all copies and that both that
  12. // copyright notice and this permission notice appear in supporting
  13. // documentation, and that the name of I.B.M. not be used in advertising
  14. // or publicity pertaining to distribution of the software without specific,
  15. // written prior permission. I.B.M. makes no representations about the
  16. // suitability of this software for any purpose.  It is provided "as is"
  17. // without express or implied warranty.
  18. //
  19. // I.B.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  20. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I.B.M.
  21. // BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  22. // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  23. // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  24. // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  25. //
  26. // Author:  John Spitzer, IBM AWS Graphics Systems (Austin)
  27. //
  28. */
  29.  
  30. #ifndef _AttrName_h
  31. #define _AttrName_h
  32.  
  33. #include "Global.h"
  34.  
  35. #define Off        0
  36. #define On        1
  37. #define False        0
  38. #define True        1
  39. #define End             -1
  40.  
  41. #if ((Off != 0) || (On != 1) || (False!=0) || (True!=1))
  42. %%% Constants have been changed!  Change them back!
  43. #endif
  44.  
  45.  
  46. #define Immediate    1
  47. #define Compile        2
  48. #define CallList    3
  49. #define CompileExecute    4
  50. #define DestroyList    5
  51.  
  52. #define NoVisual        0
  53.  
  54. #define WindowDraw        0
  55. #define PixmapDraw        1
  56.  
  57. #define Translate    0
  58. #define Rotate        1
  59. #define Scale        2
  60. #define Perspective    3
  61. #define Ortho        4
  62. #define Ortho2        5
  63. #define Frustum        6
  64.  
  65. #undef None
  66. #define None         0
  67. #define PerVertex    1
  68. #define PerRasterPos    1
  69. #if (PerVertex != PerRasterPos)
  70. %%%  PerVertex and PerRasterPos MUST be the same value!
  71. #endif
  72. #define PerFacet    2
  73.  
  74. #define Parallel    1
  75.  
  76. #define Random        0
  77. #define Vertical    1
  78. #define Horizontal    2
  79.  
  80. #define Red            300
  81. #define Green          301
  82. #define Blue           302
  83. #define Magenta        303
  84. #define Cyan           304
  85. #define Yellow         305
  86. #define Black          306
  87. #define White          307
  88. #define Grey           308
  89.  
  90. #define TTTT    309
  91. #define TTTF    310
  92. #define TTFT    311
  93. #define TTFF    312
  94. #define TFTT    313
  95. #define TFTF    314
  96. #define TFFT    315
  97. #define TFFF    316
  98. #define FTTT    317
  99. #define FTTF    318
  100. #define FTFT    319
  101. #define FTFF    320
  102. #define FFTT    321
  103. #define FFTF    322
  104. #define FFFT    323
  105. #define FFFF    324
  106.  
  107. #define Serial  325
  108. #define Spaced  326
  109.  
  110. #define SystemMemory    327
  111. #define DisplayList    328
  112. #define TexObj        329
  113. #define Framebuffer    330
  114.  
  115. #define PreCalculate        331
  116. #define gluBuildMipmap        332
  117. #define GenerateMipmapExt    333
  118.  
  119. #define Coplanar        334
  120. #define BackToFront        335
  121. #define FrontToBack        336
  122.  
  123. #define TexturedPoint        337
  124. #define TexturedTriangle    338
  125.  
  126. #define f8x13            339
  127. #define f9x15            340
  128. #define timR10            341
  129. #define timR24            342
  130. #define helvR10            343
  131. #define helvR12            344
  132. #define helvR18            345
  133.  
  134. #endif
  135.